package com.easyedu.dean.entity.dto.response;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Data;



/**
 * @author mengranliu
 * @date 2022/2/22
 */
@Data
public class RespOpenCourseRange implements Serializable {

     //有课程的时间
     CourseWeek time;
     //教学楼
     CourseBuilding building;




     @Data
     @AllArgsConstructor
     public static class CourseBuilding implements Serializable {

          Map<String, CourseFloor> building;




          @Data
          @AllArgsConstructor
          public static class CourseFloor implements Serializable {

               Map<Integer, CourseClassroom> floor;




               @Data
               @AllArgsConstructor
               public static class CourseClassroom implements Serializable {

                    List<String> classroom;
               }
          }
     }




     @Data
     @AllArgsConstructor
     public static class CourseWeek implements Serializable {

          //周数对应的天数
          Map<Integer, CourseDay> week;




          @Data
          public static class CourseDay implements Serializable {

               //天数对应的节次
               Map<Integer, CourseLesson> day;




               @Data
               @AllArgsConstructor
               public static class CourseLesson implements Serializable {

                    //节次列表
                    List<Integer> lesson;
               }
          }
     }
}
